#include"manage.h"
void Manager::loadfile()
{
	ifstream fin("data2a.txt");
	for (int i = 0; i < 8; i++)
	{
		string s;
		fin >> s;
	}
	while (fin.good())
	{
		Staff s;
		fin >> s;
		m_staffs.push_back(s);
	}
}
void Manager::showall()
{
	for (auto& s : m_staffs)
		cout << s << endl;
}
